package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.Brand;
import com.weixing.mall.provider.model.query.BrandQuery;
import com.weixing.mall.provider.model.vo.BrandVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商品模块-商品品牌表 Mapper 接口
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface BrandMapper extends BaseMapper<Brand> {

    /**
     * @Description 条件查询品牌列表信息 <br/>
     * @author gjq
     * @date 2019/8/6 10:36
     * @param brandQuery
     * @return java.util.List<com.weixing.mall.provider.model.vo.BrandVo>
     */
    IPage<BrandVo> selectListOfPage(@Param("pg") Page page, @Param("qs")BrandQuery brandQuery);
    /**
     * @Description 批量删除 <br/>
     * @author gjq
     * @date 2019/8/8 15:56
     * @param ids
     * @return void
     */
    int delAll(int[] ids);


}